#ifndef SNMPRDBMS_DATA_H
#define SNMPRDBMS_DATA_H

#include "snmprdbms_odbc.h"

struct rdbms {
  odbcdatatable *rdbmsDbTable;
  odbcdatatable *rdbmsDbInfoTable;
  odbcdatatable *rdbmsDbParamTable;
  odbcdatatable *rdbmsDbLimitedResourceTable;
  odbcdatatable *rdbmsSrvTable;
  odbcdatatable *rdbmsSrvInfoTable;
  odbcdatatable *rdbmsSrvParamTable;
  odbcdatatable *rdbmsSrvLimitedResourceTable;
  odbcdatatable *rdbmsRelTable;
};
typedef struct rdbms rdbmsdata;

int data_load(netsnmp_cache *cache, void *foo);
void data_free(netsnmp_cache *cache, void *foo);
rdbmsdata *data_get();
netsnmp_cache *data_get_cache();
void data_set_cache(netsnmp_cache *cache);

#endif
